package top.gangster.lunan.contractservice.feign.imp;

import org.springframework.stereotype.Component;
import top.gangster.lunan.contractservice.feign.OSSClient;
import top.gangster.lunan.result.Result;

@Component
public class OSSClientImp implements OSSClient {

	/**
	 * 从OSS中删除合同文件
	 *
	 * @param fileName 文件名（包括后缀）
	 * @return Result
	 */
	@Override
	public Result deleteContract(String fileName) {
		return Result.error().message("删除OSS中：Contract/"+fileName+"文件失败");
	}
}
